package com.thghh.gkrpc.example;

import com.thghh.gkrpc.RpcServer;

/**
 * @author Zhikang.Peng
 * @version 1.0
 * @email thghh@qq.com
 * @date 2020/4/14 16:56
 */
public class Server {
    public static void main(String[] args) {
        RpcServer server = new RpcServer();
        server.registerService(CalcService.class, new CalcServiceImpl());
        server.start();
    }

}
